home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000256_news@newsmaster….columbia.edu _Sat May 31 14:09:51 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA26448
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 31 May 1997 14:09:51 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA11583
  7.     for kermit.misc@watsun; Sat, 31 May 1997 14:09:50 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris
  11. Subject: Re: Disconnect and [D]TR Problems
  12. Date: 31 May 1997 18:09:49 GMT
  13. Organization: Columbia University
  14. Lines: 58
  15. Distribution: inet
  16. Message-ID: <5mpphd$b9t$1@newsmaster.cc.columbia.edu>
  17. References: <georgebEB0LD3.9p0@netcom.com>
  18. NNTP-Posting-Host: watsun.cc.columbia.edu
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:7106 comp.unix.solaris:122273
  20.  
  21. In article <georgebEB0LD3.9p0@netcom.com>,
  22. George H. Bosworth <georgeb@netcom.com> wrote:
  23. : I use Kermit 6.0.192 on Solaris 2.5 with a Supra FAXModem 288.
  24. : After logging out from a remote connection, the modem sends NO
  25. : CARRIER, and I Cntrl-\-c out, and quit Kermit. Quickly the TR (DTR)
  26. : light comes on on the modem.
  27. :
  28. When you log out from the remote, it hangs up the phone.  Your modem
  29. sees the connection is hung up and reports NO CARRIER.  It is also supposed
  30. to turn off its CD signal so Solaris will know the connection is closed,
  31. return an error to C-Kermit, so C-Kermit can pop back to its prompt
  32. automatically.
  33.  
  34. : How can I:
  35. :  1. Disconnect more cleanly
  36. :  2. Turn off the TR light during the exiting.
  37. The HANGUP command turns off DTR for a period of time (usually 1/2 second)
  38. and then turns it back on.  This is proper behavior.  In this case, it doesn't
  39. matter since the connection is already hung up.
  40.  
  41. : /users/georgeb 245 % more .kermit  <-- You mean .kermrc?
  42. : ...                                             ^^^^^^^
  43. : set quiet on
  44. : set line /dev/term/b  ; Modem device
  45. : set modem type supra  ; Is Supra FAXmodem 288
  46. : set modem hangup-method rs232-signal ; One of 2 options
  47. :
  48. All your settings appear to be OK.  In particular, you do not seem to have
  49. given a SET CARRIER OFF command, which would have explained the behavior that
  50. you report.
  51.  
  52. Modem settings:
  53.  
  54. : at&v
  55. : ACTIVE PROFILE:
  56. : B1 E1 L2 M1 N1 Q0 T V1 W0 X4 Y0 %C3 %E0 %G1 -K0 &C1 &D2 ...
  57. :                                                 ^^^
  58. This shows that the modem is correctly configured to turn off CD when carrier
  59. is dropped.
  60.  
  61. So why isn't Kermit noticing when the call is disconnected?  The most logical
  62. explanation would be a nonstandard modem cable that loops DTR back to CD.
  63.  
  64. If that's not it, then I'm stumped.  Solaris has System-V-like tty drivers,
  65. which are supposed to return an error to the application when CD drops and
  66. CLOCAL is not set -- which it is not (C-Kermit sets this while dialing, unsets
  67. it after the call is completed).  This is in contrast to SunOS, which is known
  68. not to return an error when a call is hung up and so SunOS C-Kermit never pops
  69. back to its prompt automatically on a serial connection.
  70.  
  71. I don't have access to a Solaris system that has a serial port connected to
  72. a dialout modem, so I can't troubleshoot this one myself.  Can anybody else
  73. out there shed any additional light?
  74.  
  75. - Frank